package tool

import argonaut.Json

object Pojo {

  class MyException(message: String) extends Exception(message)

  case class MemberData(account: String, password: String)

  case class CompanyMemberData(account: String, password: String, companyName: String)

  case class ProduceQrcodeData(num: Int)

  case class TableData(tableName: String, tableType: String, columnNames: List[String])

  case class ChangePasswordData(password: String, newpassword: String)

  case class FileNameData(fileName: String)

  case class FilePathData(filePath: String)

  case class NameData(name: String)

  case class OriginalNameData(originalName: String)

  case class TableNameData(tableName: String)

  case class LoadData(tableName: String, kind: String)

  case class AddKitData(tableName: String, configInfo: String)

  case class UpdateKitData(id: Int, tableName: String, name: String, config: String)

  case class UpdateRowFilterData(id: Int, name: String, config: String)

  case class UpdateSelectedColumnData(tableName: String, kitName: String, columnNames: List[String])

  case class ColumnNamesData(columnNames: List[String])

  case class UpdateSearchTypeData(id: Int, value: String)

  case class KeysData(keys: List[String])

  case class MyMessage(valid: Boolean, message: String)

  case class MyExcelTable(Hugo_Symbol: String, Entrez_Gene_Id: String, Center: String, NCBI_Build: String, Chromosome: String, Start_Position: String, End_Position: String, Strand: String, Consequence: String, Variant_Classification: String, Variant_Type: String,
                          Reference_Allele: String, Tumor_Seq_Allele1: String, Tumor_Seq_Allele2: String, dbSNP_RS: String, dbSNP_Val_Status: String, Tumor_Sample_Barcode: String, Matched_Norm_Sample_Barcode: String, Match_Norm_Seq_Allele1: String, Match_Norm_Seq_Allele2: String,
                          Tumor_Validation_Allele1: String, Tumor_Validation_Allele2: String, Match_Norm_Validation_Allele1: String, Match_Norm_Validation_Allele2: String, Verification_Status: String, Validation_Status: String, Mutation_Status: String
                          , Sequencing_Phase: String, Sequence_Source: String, Validation_Method: String, Score: String, BAM_File: String, Sequencer: String, t_ref_count: String, t_alt_count: String, n_ref_count: String,
                          n_alt_count: String, HGVSc: String, HGVSp: String, HGVSp_Short: String, Transcript_ID: String, RefSeq: String, Protein_position: String, Codons: String, Hotspot: String)

  case class UserNameData(name: String)

  case class AccountData(account: String)

  case class IdData(id: Int)

  case class IdStrData(id: String)

  case class AddSampleData(id: String, images: List[String])

  case class WorkflowData(id: String, progress: String,  sampleInfo: String)

  case class PhoneData(phone: String)

  case class PageData(limit: Int, offset: Int)

  case class IdsData(ids: List[Int])

  case class IdStrsData(ids: List[String])

  case class SSample(id: String,progress: String = "",workflow:Json)

  case class CWorkflowData(name: String = "", status: String = "", folder: String = "")

  case class CSampleInfo(id: String, progress: String = "", workflow: List[CWorkflowData])



}
